<script setup lang="ts">
import { examplePopupInstance } from '@/components/examplePopup/ExamplePopupInstance';

const openPopup = () => {
    examplePopupInstance.openPopup()
}
</script>
<template>
    <div class="TwoPage">
        第二个页面3423432
        <div class="popup">
            <button @click="openPopup">打开弹窗</button>
        </div>

    </div>
</template>


<style lang="scss" scoped>
.TwoPage {
    width: 100%;
    height: 100vh;
    background-color: red;
    margin-top: 120px;
}
</style>